package com.aqian.theme.color.happy.ui.navigation

import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.navigation.NavHostController
import androidx.navigation.compose.NavHost
import androidx.navigation.compose.composable
import com.aqian.theme.color.happy.ui.screens.home.HomeScreen
import com.aqian.theme.color.happy.ui.screens.wallpaper.WallpaperScreen
import com.aqian.theme.color.happy.ui.screens.iconpack.IconPackScreen
import com.aqian.theme.color.happy.ui.screens.profile.ProfileScreen

@Composable
fun NavGraph(
    navController: NavHostController,
    modifier: Modifier = Modifier
) {
    NavHost(
        navController = navController,
        startDestination = Screen.Home.route,
        modifier = modifier
    ) {
        composable(route = Screen.Home.route) {
            HomeScreen()
        }
        composable(route = Screen.Wallpaper.route) {
            WallpaperScreen()
        }
        composable(route = Screen.IconPack.route) {
            IconPackScreen()
        }
        composable(route = Screen.Profile.route) {
            ProfileScreen()
        }
    }
}
